import httpClient from "./http-client";

export class ServerService {
    baseUrl = "/api/v1.0/admin/server";

    async retrieve() {
        return httpClient.get(`${this.baseUrl}`).then((res) => {
            return Promise.resolve(res.data.data);
        });
    }
}

const serverService = new ServerService();

export default serverService;